package com.wobaby.vo;

public class ClassVO extends BaseVO {
		private int ClassID;
		private String ClassName;
		private String ClassType;
		private String Comments;
		public int getClassID()
		{
			return ClassID;
		}
		public void setClassID(int classID)
		{
			ClassID = classID;
		}
		public String getClassName()
		{
			return ClassName;
		}
		public void setClassName(String className)
		{
			ClassName = className;
		}
		public String getClassType()
		{
			return ClassType;
		}
		public void setClassType(String classType)
		{
			ClassType = classType;
		}
		public String getComments()
		{
			return Comments;
		}
		public void setComments(String comments)
		{
			Comments = comments;
		}
		@Override
		public int hashCode()
		{
			final int prime = 31;
			int result = 1;
			result = prime * result + ClassID;
			result = prime * result
					+ ((ClassName == null) ? 0 : ClassName.hashCode());
			result = prime * result
					+ ((ClassType == null) ? 0 : ClassType.hashCode());
			result = prime * result
					+ ((Comments == null) ? 0 : Comments.hashCode());
			return result;
		}
		@Override
		public boolean equals(Object obj)
		{
			if (this == obj)
				return true;
			if (obj == null)
				return false;
			if (getClass() != obj.getClass())
				return false;
			ClassVO other = (ClassVO) obj;
			if (ClassID != other.ClassID)
				return false;
			if (ClassName == null)
			{
				if (other.ClassName != null)
					return false;
			} else if (!ClassName.equals(other.ClassName))
				return false;
			if (ClassType == null)
			{
				if (other.ClassType != null)
					return false;
			} else if (!ClassType.equals(other.ClassType))
				return false;
			if (Comments == null)
			{
				if (other.Comments != null)
					return false;
			} else if (!Comments.equals(other.Comments))
				return false;
			return true;
		}
		@Override
		public String toString()
		{
			return "ClassVO [ClassID=" + ClassID + ", ClassName=" + ClassName
					+ ", ClassType=" + ClassType + ", Comments=" + Comments
					+ "]";
		}
		public ClassVO(int classID, String className, String classType,
				String comments)
		{
			super();
			ClassID = classID;
			ClassName = className;
			ClassType = classType;
			Comments = comments;
		}
		

}
